package com.ruoyi.buy.mapper.PO;

import com.ruoyi.buy.domain.entity.PO.BuyRequestbuyBillItem;

import java.util.List;

/**
 * 请购单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public interface BuyRequestbuyBillItemMapper 
{
    /**
     * 查询请购单明细
     * 
     * @param id 请购单明细主键
     * @return 请购单明细
     */
    public BuyRequestbuyBillItem selectBuyRequestbuyBillItemById(Long id);

    /**
     * 查询请购单明细列表
     * 
     * @param buyRequestbuyBillItem 请购单明细
     * @return 请购单明细集合
     */
    public List<BuyRequestbuyBillItem> selectBuyRequestbuyBillItemList(BuyRequestbuyBillItem buyRequestbuyBillItem);

    /**
     * 新增请购单明细
     * 
     * @param buyRequestbuyBillItem 请购单明细
     * @return 结果
     */
    public int insertBuyRequestbuyBillItem(BuyRequestbuyBillItem buyRequestbuyBillItem);

    /**
     * 修改请购单明细
     * 
     * @param buyRequestbuyBillItem 请购单明细
     * @return 结果
     */
    public int updateBuyRequestbuyBillItem(BuyRequestbuyBillItem buyRequestbuyBillItem);

    /**
     * 删除请购单明细
     * 
     * @param id 请购单明细主键
     * @return 结果
     */
    public int deleteBuyRequestbuyBillItemById(Long id);

    /**
     * 批量删除请购单明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBuyRequestbuyBillItemByIds(Long[] ids);
}
